package com.haima.ziliao.domain;

import java.math.BigDecimal;
import java.io.Serializable;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.haima.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.haima.common.core.domain.BaseEntity;

/**
 * 会员配置对象 p_vipconfig
 * 
 * @author hima
 * @date 2024-10-28
 */
public class PVipconfig implements Serializable
{
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 套餐名称 */
    @Excel(name = "套餐名称")
    private String name;

    /** 原价 */
    @Excel(name = "原价")
    private BigDecimal yuanjia;

    /** 折扣 */
    @Excel(name = "折扣")
    private BigDecimal zhekou;

    /** 会员描述 */
    @Excel(name = "会员描述")
    private String miaoshu;

    /** 权益说明 */
    @Excel(name = "权益说明")
    private String quanyi;

    private BigDecimal xianjia;

    @Excel(name = "有效期")
    private Integer days;

    public BigDecimal getXianjia() {
        return xianjia;
    }

    public void setXianjia(BigDecimal xianjia) {
        this.xianjia = xianjia;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setYuanjia(BigDecimal yuanjia) 
    {
        this.yuanjia = yuanjia;
    }

    public BigDecimal getYuanjia() 
    {
        return yuanjia;
    }
    public void setZhekou(BigDecimal zhekou) 
    {
        this.zhekou = zhekou;
    }

    public BigDecimal getZhekou() 
    {
        return zhekou;
    }
    public void setMiaoshu(String miaoshu) 
    {
        this.miaoshu = miaoshu;
    }

    public String getMiaoshu() 
    {
        return miaoshu;
    }
    public void setQuanyi(String quanyi) 
    {
        this.quanyi = quanyi;
    }

    public String getQuanyi() 
    {
        return quanyi;
    }

    public Integer getDays() {
        return days;
    }

    public void setDays(Integer days) {
        this.days = days;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("yuanjia", getYuanjia())
            .append("zhekou", getZhekou())
            .append("miaoshu", getMiaoshu())
            .append("quanyi", getQuanyi())
            .append("xianjia", getXianjia())
            .append("days", getDays())
            .toString();
    }
}
